
package com.plian.system.service.sys.message;

import com.baomidou.mybatisplus.extension.service.IService;
import com.plian.system.entity.sys.Message;
import com.plian.system.model.ListResult;
import com.plian.system.mybatis.support.Query;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 首页消息列表 服务类
 *
 * @author jianglei
 * @since 2021-01-13
 */
public interface IMessageService extends IService<Message> {

    /**
     *
     * @param id
     * @return
     */
    boolean ignore(Integer id);

    ListResult<Message> list(@RequestBody Query query);
}
